package com.ruoyi.system.repository.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 会员对象 user
 *
 * @author qiang
 * @date 2021-01-01
 */
public class User extends BaseEntity
        {
private static final long serialVersionUID=1L;

        /** 姓名 */
                                                        @Excel(name = "姓名")
                        private String username;

            /** 手机 */
            private String phone;

            /** 密码 */
                                                        @Excel(name = "密码")
                        private String pwd;

            /** 等级 */
                                                        @Excel(name = "等级")
                        private Long level;

            /** 性别 */
                                                        @Excel(name = "性别")
                        private String gender;

            /** 生日 */
                                                        @Excel(name = "生日")
                        private String birthday;

                            public void setUsername(String username)
            {
            this.username = username;
            }

    public String getUsername()
            {
            return username;
            }
                            public void setPhone(String phone)
            {
            this.phone = phone;
            }

    public String getPhone()
            {
            return phone;
            }
                            public void setPwd(String pwd)
            {
            this.pwd = pwd;
            }

    public String getPwd()
            {
            return pwd;
            }
                            public void setLevel(Long level)
            {
            this.level = level;
            }

    public Long getLevel()
            {
            return level;
            }
                            public void setGender(String gender)
            {
            this.gender = gender;
            }

    public String getGender()
            {
            return gender;
            }
                            public void setBirthday(String birthday)
            {
            this.birthday = birthday;
            }

    public String getBirthday()
            {
            return birthday;
            }

@Override
public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                                .append("username",getUsername())
                                .append("phone",getPhone())
                                .append("pwd",getPwd())
                                .append("level",getLevel())
                                .append("gender",getGender())
                                .append("birthday",getBirthday())
            .toString();
        }
        }
